home *** CD-ROM | disk | FTP | other *** search
/ 600 Games / 600games.iso / Aventura / megaman_polarity.swf / scripts / DefineButton2_964 / BUTTONCONDACTION on(release, keyPress Enter).as
Encoding:
Text File  |  2007-03-20  |  2.3 KB  |  87 lines

  1. on(release, keyPress "<Enter>"){
  2.    if(cheatcode == "livestrong" or cheatcode == "LIVESTRONG")
  3.    {
  4.       if(livestrong == 1)
  5.       {
  6.          livestrong = 0;
  7.          cheatactivated = "No LiveStrong Band";
  8.          cheatdesc = "LiveStrong Band Mode has been disabled.";
  9.       }
  10.       else
  11.       {
  12.          livestrong = 1;
  13.          cheatactivated = "LiveStrong Band";
  14.          cheatdesc = "Everyone\'s wearing yellow LiveStrong bands, even Megaman!  (works only with Megaman)";
  15.       }
  16.       gotoAndPlay(8300);
  17.    }
  18.    else if(cheatcode == "damncat" or cheatcode == "DAMNCAT")
  19.    {
  20.       if(lives == 5)
  21.       {
  22.          lives = 2;
  23.          cheatactivated = "Standard Lives";
  24.          cheatdesc = "Extra Lives Mode has now been disabled.";
  25.       }
  26.       else
  27.       {
  28.          lives = 5;
  29.          cheatactivated = "Extra Lives";
  30.          cheatdesc = "Start the game with six lives.";
  31.       }
  32.       gotoAndPlay(8300);
  33.    }
  34.    else if(cheatcode == "beastie" or cheatcode == "BEASTIE")
  35.    {
  36.       if(sabotage == 1)
  37.       {
  38.          sabotage = 0;
  39.          cheatactivated = "Normal 03 Track";
  40.          cheatdesc = "The alternate music for Chapter 03 has been disabled.";
  41.       }
  42.       else
  43.       {
  44.          sabotage = 1;
  45.          cheatactivated = "Alternate 03 Track";
  46.          cheatdesc = "Chapter 03 will now play an alternate music track.";
  47.       }
  48.       gotoAndPlay(8300);
  49.    }
  50.    else if(cheatcode == "fuctup" or cheatcode == "FUCTUP")
  51.    {
  52.       if(reverse == 1)
  53.       {
  54.          reverse = 0;
  55.          cheatactivated = "Normal Polarities";
  56.          cheatdesc = "Reversed Polarities Mode has been disabled.";
  57.       }
  58.       else
  59.       {
  60.          reverse = 1;
  61.          cheatactivated = "Reversed Polarities";
  62.          cheatdesc = "Fire and absorb the polarity opposite of your shield.";
  63.       }
  64.       gotoAndPlay(8300);
  65.    }
  66.    else if(cheatcode == "triplezero" or cheatcode == "TRIPLEZERO")
  67.    {
  68.       if(player == "protoman")
  69.       {
  70.          player = "megaman";
  71.          cheatactivated = "Play as Megaman";
  72.          cheatdesc = "Protoman Mode has now been disabled.";
  73.       }
  74.       else
  75.       {
  76.          player = "protoman";
  77.          cheatactivated = "Play as Protoman";
  78.          cheatdesc = "Need I say more?";
  79.       }
  80.       gotoAndPlay(8300);
  81.    }
  82.    else
  83.    {
  84.       gotoAndPlay(592);
  85.    }
  86. }
  87.